用户请求连接到网站

消息 ID:connectWeb 在以下情况下会生成此消息:

  1. 用户请求连接到网站。

开发者可以通过监听获取连接请求消息:复制

window.addEventListener('message', function (e) {
  if (e.data.message && e.data.message.action == "connectWeb") {
    // handler logic
    console.log('got connectWeb event', e.data)
  }
})





Would you like to share your thoughts?

Your email address will not be published. Required fields are marked *